package cool.ale.errorMessage.constant;

/**
 * The <code>cool.ale.common.invariant.constant.AleErrorMessageConst</code> class have to be described
 *
 * <p>
 * The <code>AleErrorMessageConst</code> class have to be detailed For example:
 * <p>
 *
 * @author dujlc
 * @date 2022/12/3 19:21
 * @see
 * @since 1.0
 */
public class AleErrorMessageConst {

    /**
     * 成功标志
     */
    public static final String SUCCESS = "SUCCESS";

    /**
     * 失败标志
     */
    public static final String FAIL = "FAIL";

    /**
     * 业务异常默认生效语言
     */
    public static final String ERROR_MSG_FILE_DEFAULT_EFFECT_LANGUAGE = "ZH_CN";

    /**
     * errorMsg在redis中存储时的前缀名称
     */
    public static final String ERROR_MSG_PREFIX_TWO = "_ERROR_MSG_";

    /**
     * ale-error-message 内嵌jedis 的bean名称
     */
    public static final String INLINE_JEDIS_POOL_NAME = "aleErrorMessageJedisPool";

    /**
     * 业务报错文件默认路径
     */
    public static final String ERROR_MSG_FILE_DEFAULT_PATH = "error/";
}
